<template>
  <div class="wrapper">
    子组件B
    {{ msg }}
  </div>
</template>

<script setup lang="ts">
import { inject } from 'vue'

let msg = inject('msg')
</script>

<style scoped>

</style>
